package ai.people.netmon.framework.domain.warning.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 预警分析模型-角色关系表
 * @TableName warning_analysis_model_role
 */
@TableName(schema = "service_warning", value ="warning_analysis_model_role")
@Data
public class WarningAnalysisModelRole implements Serializable {
    /**
     * 
     */
    @TableId
    private Long id;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 模型id
     */
    private Long analysisModelId;

    /**
     * 数据创建时间
     */
    private Date createTime;

    /**
     * 数据更新时间
     */
    private Date ts;

    /**
     * 是否删除 1是 0否
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}